import java.util.ArrayList;
import java.util.List;
public class test {
 public static List<Integer> test(){
    ArrayList<Integer> list=new ArrayList<>();
        for (int i=0;i<1000;i++){
            if (i%2==0)
                list.add(i);
        }
        return list;
}
public static void main(String[] args) {System.out.println(test());}}